#!/usr/bin/ruby

require 'drb/drb'
load 'comm.rb'
load 'player.rb'

`reset`

DRb.start_service

game = DRbObject.new_with_uri($uri)

ARGV[0] = "noname" unless ARGV[0]

player = Player.new(ARGV[0].to_s,1000)
#player = PlayerAI.new(1000)
#clt = Clt.new("XXX")
player.connect(game)
player.play_r
